import 'package:json_annotation/json_annotation.dart'; 
  
part 'CommMenu.g.dart';


@JsonSerializable()
  class CommMenu extends Object {

  @JsonKey(name: 'data')
  List<Data> data;

  @JsonKey(name: 'code')
  String code;

  @JsonKey(name: 'msg')
  String msg;

  CommMenu(this.data,this.code,this.msg,);

  factory CommMenu.fromJson(Map<String, dynamic> srcJson) => _$CommMenuFromJson(srcJson);

  Map<String, dynamic> toJson() => _$CommMenuToJson(this);

}

  
@JsonSerializable()
  class Data extends Object {

  @JsonKey(name: 'id')
  int id;

  @JsonKey(name: 'appType')
  String appType;

  @JsonKey(name: 'appName')
  String appName;

  @JsonKey(name: 'menuName')
  String menuName;

  @JsonKey(name: 'menuUrl')
  String menuUrl;

  @JsonKey(name: 'menuSignal')
  String menuSignal;

  @JsonKey(name: 'isUse')
  String isUse;

  @JsonKey(name: 'sort')
  int sort;

  @JsonKey(name: 'createTime')
  String createTime;

  @JsonKey(name: 'updateTime')
  String updateTime;

  Data(this.id,this.appType,this.appName,this.menuName,this.menuUrl,this.menuSignal,this.isUse,this.sort,this.createTime,this.updateTime, );

  factory Data.fromJson(Map<String, dynamic> srcJson) => _$DataFromJson(srcJson);

  Map<String, dynamic> toJson() => _$DataToJson(this);

}

  
